-- XSD schema extracted from ITU-T H.812.4 (11/2015)
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://continuaalliance.org/aps-cdc"
xmlns:tns="http://continuaalliance.org/aps-cdc" elementFormDefault="unqualified">
<complexType name="APBType">
<sequence>
<element name="supportedMH">
<simpleType>
<list itemType="string" />
</simpleType>
</element>
<element name="exchangeMechanism">
<simpleType>
<list itemType="string" />
</simpleType>
</element>
<element name="shoulderTapMechanism">
<simpleType>
<list itemType="string" />
</simpleType>
</element>
<element name="SMS" type="tns:SMSType" minOccurs="0"/>
<group ref = "tns:WANServerFields" minOccurs="0"/>
<any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="lax" />
</sequence>
</complexType>
<element name="APB" type="tns:APBType"></element>
<complexType name="SMSType">
<sequence>
<element name="MSISDN">
<simpleType>
<restriction base="string">
<maxLength value="15"></maxLength>
<pattern value="\d+"></pattern>
</restriction>
</simpleType>
</element>
<element name="SMSHeaderDstPort" type = "unsignedShort"/>
<element name="SMSApplicationId" minOccurs="0">
<simpleType>
<restriction base="string">
<maxLength value="128"/>
</restriction>
</simpleType>
</element>
</sequence>
</complexType>
<simpleType name="APBI">
<restriction base="string">
<maxLength value="2047"></maxLength>
<pattern value="[^/#+*]+"></pattern>
</restriction>
</simpleType>
<group name="WANServerFields">
<sequence>
<element name="WANAPBI" type="tns:APBI" />
<element name="AHDAPBI" type="tns:APBI" />
<element name="APSExchangeURL" type="anyURI" />
<element name="APSState">
<simpleType>
<restriction base="string">
<enumeration value="NEW"></enumeration>
<enumeration value="ENABLED"></enumeration>
<enumeration value="TERMINATED"></enumeration>
</restriction>
</simpleType>
</element>
<element name="expirationTime" type="duration"/>
<element name="requiredResponseTime" type="duration" />
<element name="clientId" type="string" minOccurs="0"/>
<element name="AHDCredential" type="string" minOccurs="0"/>
</sequence>
</group>
</schema>